package com.neuedu.elmserver.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neuedu.elmserver.mapper.BusinesstypeMapper;
import com.neuedu.elmserver.pojo.Businesstype;
import com.neuedu.elmserver.service.BusinesstypeService;
import com.neuedu.elmserver.vo.ResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wyh
 * @since 2024-11-07
 */
@Service
public class BusinesstypeServiceImpl extends ServiceImpl<BusinesstypeMapper, Businesstype> implements BusinesstypeService {

    @Autowired
    private BusinesstypeMapper businesstypeMapper;

    @Override
    public ResultVO queryAllBusinessType() {
        return ResultVO.ok("查询成功",businesstypeMapper.selectList(null));
    }
}
